package org.example.myleet.p650;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(3 == solution.minSteps(3));
        Assert.isTrue(0 == solution.minSteps(1));
        Assert.isTrue(2 == solution.minSteps(2));
        Assert.isTrue(131 == solution.minSteps(131));
        Assert.isTrue(6 == solution.minSteps(9));
        Assert.isTrue(46 == solution.minSteps(999));
        Assert.isTrue(16 == solution.minSteps(39));
        Assert.isTrue(18 == solution.minSteps(512));
    }
}
